import 'package:flutter/material.dart';

class LaraPressInput extends StatelessWidget {
  final String hintText;
  final bool isDense;
  final TextEditingController? controller;
  const LaraPressInput({
    super.key,
    this.hintText = "",
    this.isDense = false,
    this.controller,
  });

  @override
  Widget build(BuildContext context) {
    return TextField(
      controller: controller,
      decoration: InputDecoration(
        hintText: hintText,
        isDense: isDense,
        hintStyle: Theme.of(context).textTheme.bodyMedium!.copyWith(
          color: Theme.of(context).colorScheme.onSurfaceVariant,
        ),
      ),
      style: Theme.of(context).textTheme.bodyMedium,
    );
  }
}
